/**
 * Copyright 2010 The Regents of the University of California
 *
 *  All Rights Reserved
 */
#ifndef __ARP_HANDLING_H__
#define __ARP_HANDLING_H__

#include "packets.h"
#include "arp-cache.h"
#include <inttypes.h>

typedef struct arp_packet
{
	struct eth_header eth;
	struct arp_eth_header arp;
}arp_packet;

uint8_t last_vm_id[MAX_SWITCHES][K];
arp_cache_record* arp_cache_table;
void handle_arp(struct rconn* rconn, struct lswitch *sw, struct ofp_packet_in *opi);
void init_arp_cache(void);

#endif
